<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 4/21/17
 * Time: 10:35 AM
 */
?>

<div class="row">
    <div class="col-lg-12">
        <p>
            <?= \yii\bootstrap\Html::img('http://wodrow-1251914696.cossh.myqcloud.com/yishang/Screenshot_2017-04-21_10-43-44.png', [
                'class' => 'img img-responsive pull-left',
                'style' => 'width:100%;',
            ]) ?>
        </p>
    </div>
    <div class="col-lg-12">
        <h3>如图，所有业务由客户发起，第一步需要提交征信，如果原来没有这个征信客户，便创建客户 <code>custom</code></h3>
        <p>
            征信接口：[<?= \yii\bootstrap\Html::a('bank/business/submit-credit', 'http://192.168.1.102:9101/route/api/index#/bank/business/submit-credit', [
                'target' => '_blank',
            ]) ?>]，其中 <code>guarantee_company_dot_site_sign_code</code>为担保公司的网点 <code>bank_sign_code</code>提交银行标识，暂时由此api应用提供，待后期实现用户业务后由用户自己操作生成。每个用户有自己的
            <code>orderno</code>
        </p>
    </div>
    <div class="col-lg-12">
        <h3>银行返回</h3>
        <p>
            银行返回接口的所有方法在[<code>bank/back/*</code>]当中，获取结果后改变数据库中的一些状态和数据，并对担保公司提供接口，担保公司可以用计划任务的方式或事件形式请求接口保持数据更新
        </p>
    </div>
    <div class="col-lg-12">
        <h3>分期付款申请</h3>
        <p>
            接口：[<?= \yii\bootstrap\Html::a('bank/business/ask-for-divided-payments', 'http://192.168.1.102:9101/route/api/index#/bank/business/ask-for-divided-payments', [
                'target' => '_blank',
            ]) ?>],<code>serialize_data</code>实例:
        <pre>
$serialize_data = serialize([
    'customer' => [
        'Mobile' => $y['Mobile'],
        'Address' => $y['Address'],
        'Unit' => $y['Unit'],
    ],
    'car' => [
        'carType' => $y['carType'],
        'Price' => $y['Price'],
        'carNo1' => $y['carNo1'],
        'carRegNo' => $y['carRegNo'],
        'shorp4s' => $y['shorp4s'],
        'carNo2' => $y['carNo2'],
    ],
    'divi' => [
        'PaidAmt' => $y['PaidAmt'],
        'Amount' => $y['Amount'],
        'Term' => $y['Term'],
        'Interest' => $y['Interest'],
        'FeeMode' => $y['FeeMode'],
        'IsPawn' => $y['IsPawn'],
        'PawnGoods' => $y['PawnGoods'],
        'IsAssure' => $y['IsAssure'],
        'tiexiFlag' => $y['tiexiFlag'],
        'tiexiRate' => $y['tiexiRate'],
        'card' => $y['card'],
    ],
    'note' => $y['note'],
    'pics' => $y['pics'],
    'resubmit' => $y['resubmit'],
]);
        </pre>
        </p>
    </div>
    <div class="col-lg-12">
        <h3>专项卡上送</h3>
        <p>
            <code>serialize_data</code>存在争议，商量后决定
        </p>
    </div>
    <div class="col-lg-12">
        当前服务器windows server 2008 <br>
        <pre>
    'api_domain' => 'http://192.168.99.5:9101/',
    'frontend_domain' => 'http://192.168.99.5:9112/',
    'backend_domain' => 'http://192.168.99.5:9113/',
        </pre>
    </div>
</div>


